﻿namespace Traffic.Entity;

/// <summary>
/// 客户地址表
/// </summary>
public partial class UserDataAddress
{
    public int Id { get; set; }

    /// <summary>
    /// 客户ID 对应User.ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 联系人姓名
    /// </summary>
    public string? Contact { get; set; }

    /// <summary>
    /// 联系人电话
    /// </summary>
    public string? Mobile { get; set; }

    /// <summary>
    /// 省份
    /// </summary>
    public string Province { get; set; } = null!;

    /// <summary>
    /// 城市
    /// </summary>
    public string City { get; set; } = null!;

    /// <summary>
    /// 城镇区
    /// </summary>
    public string District { get; set; } = null!;

    /// <summary>
    /// 详细地址
    /// </summary>
    public string Address { get; set; } = null!;

    /// <summary>
    /// 是否默认
    /// </summary>
    public bool IsDefault { get; set; }

    /// <summary>
    /// 状态  0：停用  1：正常
    /// </summary>
    public bool Status { get; set; }

    /// <summary>
    /// 座标
    /// </summary>
    public string? Location { get; set; }

    /// <summary>
    /// Company.ID
    /// </summary>
    public int BusinessId { get; set; }

    /// <summary>
    /// 商户用户ID
    /// </summary>
    public string? BusinessUid { get; set; }
}
